﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EquipSecs300.ParamHMI;

namespace EquipSecs300
{
    public class SecsFunction
    {
        [Category("功能参数"), DisplayName("Port数量"), Description("Port数量"), ReadOnly(false), Browsable(true)]
        public int PortQty { get; set; } = 2;

        [Category("功能参数"), DisplayName("工单名字来源"), Description("工单名字来源"), ReadOnly(false), Browsable(true)]
        [TypeConverter(typeof(PPIDSource))]
        public string RecipeNameSource { get; set; } = "PJob";

        [Category("功能参数"), DisplayName("卡匣信息来源"), Description("卡匣信息来源"), ReadOnly(false), Browsable(true)]
        [TypeConverter(typeof(CarrierInfoSource))]
        public string CarrierInfoSource { get; set; } = "S3F17";

        [Category("功能参数"), DisplayName("是否使用GEM300"), Description("True：使用GEM300，False：仅用GME200"), Browsable(true)]
        public bool Gem300Enable { get; set; } = true;

        [Category("功能参数"), DisplayName("LoadPort是否适配切割前"), Description("True：适配切割前，False：仅切割后"), Browsable(true)]
        public bool LoadPortAdapWhole { get; set; }

        [Category("功能参数"), DisplayName("设备是否不在客户端"), Description("True：不在客户端，False：在客户端"), Browsable(true)]
        public bool IsUnClientSide { get; set; }

        [Category("功能参数"), DisplayName("WaferID是否可以包含“_"), Description("True：可以，False：替换为“#"), Browsable(true)]
        public bool IsWaferIDCanContain_ { get; set; } = true;

        [Category("功能参数"), DisplayName("是否由远程命令触发开始"), Description("True：由远程命令，False：由CJob"), Browsable(true)]
        public bool IsStartByRCMD { get; set; } = true;
    }
}
